package com.antdesignbackend.backend.service;
import com.antdesignbackend.backend.entity.entityVo.RoomVo;
import com.antdesignbackend.backend.entity.Room;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface IRoomService extends IService<Room> {
    List<RoomVo> search(@Param(Constants.WRAPPER) QueryWrapper<RoomVo> queryWrapper, Page<RoomVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<RoomVo> queryWrapper);
    List<RoomVo> searchRoom(@Param(Constants.WRAPPER) QueryWrapper<RoomVo> queryWrapper, Page<RoomVo> page);
    Integer countRoom(@Param(Constants.WRAPPER) QueryWrapper<RoomVo> queryWrapper);
}
